<template>
  <div class="innerWrapper">
    <div class="pageDetailWrapper">
      <div v-for="(item, index) of contentArr" :key="index" class="detailItem">
        <p class="title">{{ item.name }}</p>
        <div class="content">{{ item.content }}</div>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  data() {
    return {}
  },
  created() {},
  computed: {},
  props: {
    contentArr: {
      type: Array,
      default: () => []
    }
  }
}
</script>
<style lang="scss" scoped>
.innerWrapper {
  .pageDetailWrapper {
    padding: 0 24px;
    .detailItem {
      .title {
        width: 96px;
        height: 28px;
        font-size: 20px;
        font-weight: 400;
        color: rgba(56, 56, 56, 1);
        line-height: 28px;
        &::before {
          content: '.';
          color: rgba(57, 145, 252, 1);
          width: 4px;
          height: 20px;
          margin-right: 5px;
          background: linear-gradient(
            90deg,
            rgba(57, 145, 252, 1) 0%,
            rgba(0, 94, 249, 1) 100%
          );
          border-radius: 5px;
        }
      }
      .content {
        min-height: 150px;
        padding: 10px;
        box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.1);
        border-radius: 10px;
        border: 1px solid rgba(0, 0, 0, 0.1);
      }
    }
  }
}
</style>
